package com.wildlife.springboot.entity;

import lombok.Getter;
import lombok.Setter;
import org.springframework.data.neo4j.core.schema.Id;
import org.springframework.data.neo4j.core.schema.Node;

@Getter
@Setter
@Node("attribute")  // 定义为Neo4j节点
public class AnimalAttribute {

    @Id
    private String content;  // 属性内容，例如 "种中文名"、"拉丁名" 等

    // 构造方法
    public AnimalAttribute(String content) {
        this.content = content;
    }

    public AnimalAttribute() {
        // 默认构造函数
    }
}
